|
![](/i/fill.gif) |
Thorsten Froehlich <tho### [at] trf de> wrote:
: As you can see, there is a good reason to have a stack size limit in the
: first place. With only 128 process table entries and 2 GB per application
: memory limit, this small program can consume 64 GB of memory (or swap
: space)!
Still, a recursion limit of 50 (or whatever it was) is ridiculously small.
: How would dynamic memory allocation help here? ;-)
You don't have to use the program stack to simulate recursive macros. You
can make your own stack by malloc()ing memory. Then the only limit is the
available memory.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |